Correctly determining nodeClassName for SVG nodes.