fix automatic download of exported image on Firefox