fix path direction issue in SVG export