Fixed bug with Z(z) command in SVG, it didn't moved to contour's first point in certain cases.