Yeah, I could not really figure an elegant way of dealing with it, without a controller. Thank you for giving a look
I think you could hide mouse cursor and move it to center when it is still to prevent this problem. Player would think he has a big space for mouse movement.