Making sure the player stays inside the screen