thanks for providing an example - unfortunately, im not able to reproduce the problematic behaviour outside of the framework we use. we notice that this only happen, if you start on this page - so this might be related to how the framework load css ( its delayed so some style might not be available / apply at initial load )
after some test, we use the Map inside of component approach to wait until everything is fully initialized.
thanks for bringing us to the right track :)