corrected GetTargetToCurrentTransform method to normalize scaling and invert translation