I accidentally removed the line that handled the flipping of the player