Made it so player can not go off of the screen.