This isn’t a bug - more an actual feature.
Theme Components do not display on published pages at all; they are a ‘clean slate’ deliberately.
To get TC and plugin features working nicely on pages that are exposed to the internet I suggest that you:
-
Make your site visible to anon (i.e. turn of logged-in only)
-
Have at least one category visible to @everyone and use that