Fixed canvas scaling issue.