Correctly control the player using PlayerInputObject.