Correction of the rescaling of non-SVG images