Yeah indeed it’s a race condition.
Have you tried using the “Do when a condition is true” workflow event? That’s the go-to solution for race conditions.
For example:
Do when condition is true -> Leafy Maps X is visible
[ Show map on Leafy Maps X ]
Yeah, tremble beneath my text drawing skills