Cursor works in middle of screen