Fix interactive rendering in Chrome/Firefox.

Can't use className on SVG elements; have to use setAttribute.