Fix a bug where the player was not moving