Fixed clear function in SVGRenderer.