Fix rewinding of SVG animations