hot-fix: png download with FireFox

+ add image before adding ImageElement to Canvas