Correct position transformation.