To correct the problem, remove the lock barrel (remove the black trim on the end of the door, then undo the lock barrel bolt), then un clip the door pull seen in the picture above and reattach it with tension. It's all very obvious when you see the mechanism in the flesh.
For more details on the process to remove the lock barrel / blank, see a how to on this forum regarding replacing the lock mechanism.