Fixed some issues with the player input