Fix animation of SVG paths to correctly handle move segments

This is for the demo only