Fixed error in player controls