Renders SVG, uses a callback for when it has completed rendering