Fix chart position and clean up top-level SVG