Cursor now properly stays within confines of the screen