Fixed bug in image save if image not rendered
Fixed bug introduced in bug fix of dna save