cursor does not move outside gameboard