Minor fix for export to image based formats - thx mariner :)