JFG-776 saving images in FireFox fails

+ imageElement do not have it's own width/height.