Fixed an image scaling issue.