Fixed bug that caused player not to move.