Prevent player from leaving the top of the screen