fix a bug in html2canvas for bug report