html2canvas: use proxy only if enabled in config