Fix 'class' attribute on SVG elements