Fix #2443 (importer): Firefox doesn't have srcElement