Fix rendering
Trash previously generated image on save