I’m not going to ask about why you’ve got 10 floating groups as sidebar menus, or what you mean by seeing visual artefacts…
But there is a simple way to do what you ask.
(This might be classed as a hack… it’s one of those weird Bubble expression builder inconsistencies, that presumably doesn’t have any reason to exist, and works regardless, but maybe one day Bubble will ‘fix’ the inconsistency and it will stop working… so use with caution…)
But, you can add an only when FG is visible condition to a workflow event (even if, for some reason, you can’t to an action)…
So just create the expression on the event, then copy and paste it to the action’s only when condition.
It works exactly as expected.