The mouse capture isn't perfect, if you do multiple fast jumps in the same direction it wonders of screen.
Edit:I think it happens, because in the fast movement I click and the cursor locks while I'm still pulling back my mouse to get enough space for the next jump.