added canvas scale