Wrap svgrender in try/catch