Fixed bugg causing player to be unable to move