Rendering SVG transparent background

Hi, I have a few animations in SVG format, these have an invisible background that allows a character to move within the invisible rectangle. But I can’t use the trick any more because Juce 9 ignores the transparent rectangle, I know it sounds the correct way to render something (don’t draw things you can’t see), but it breaks my animations.
Is there a way of reenabling invisible shapes? Or do I just go back to using bitmaps?

anims[n]->drawWithin(g, re, RectanglePlacement::stretchToFit, 1.0f);

using viewbox ?

See