fixed player's movement directions