Port https://github.com/niklasvh/html2canvas/pull/159 to latest html2canvas
Update build with latest changes