Adjust for scaling mode.