#5327 - fix html2canvas scaling and cropping