Fix newly introduced error in SVG export.