As said in the title, if the visible_set of the window is set before or after content_set (= resize_object_add), the application will seem different.
See https://pastebin.com/k85RwTU9. The last two lines order make the world different. If the win visibility line is removed (as it should be default), it behaves too.
I remember this behavior was existing in legacy as well