Fix direction of movement