toSVG fix for pie chart on IE8