Clean up the svg chaining some more.