Fixed graphics scaling issue.