Fix scale factor issue.