What I was missing was that the screw wasn't fully tightened but it was impossible to tighten the screw whilst the derailleur was against the limit and the cable was tight. Pulling the cable to move the derailleur and tightening the screw at the same time worked fine. Totally slack cable would have been fine as well I think.