Fixed cursor flying off the screen

The ball now stays on the screen...somewhat