Fixed drawing off edge of screen and clicking outside computer