I'm afraid I didn't do anything clever. I aligned the sprockets correctly before dismantling the cam sprocket. As the sprocket on the crank end was only moving when under load, I just then hoped it wouldn't shift whilst I drilled the well, then welded.
Fortunately it didn't move, and I've ended up with it being all lined up pretty well.