fix #472

refers to https://github.com/niklasvh/html2canvas/issues/472