Handle transformation on FitInWindow.