Fixed bug that allowed player to move off screen