hot-fix: png download with FireFox

+ add image before adding ImageElement to Canvas
`alert(String)` is the message inside this class, and it cause ExceptionPanel to appear. (line 175)