Fixed a couple bugs with the player