Fix SVG parse errors in specs (fixes #2012)