clamping player to screen
collision functions