Fix transformation bug.