Fix mouse position for mouse lock.