Elements disappear on resize

I have a file that after it starts playing and the user resizes the window

some (not all) elements disappear.

if the resize happens before the rive file starts then everything is alright.

This only happens when played on the browser with the JS runtime, not in the Rive editor.

Does anyone have any idea what is going on?