Have you tried limiting the mouse to the borders of the screen yet?