Object dynamically loaded

Once the SVG object loaded, it is extracted and replace the Object tag. The style values are set but not applied, no repaint.

Inline SVG

In this case the behavior is correct, the style is set and a repaint is happening.