Correct the type of movement.