--- a/ui/common/object.c Sun Aug 24 15:24:16 2025 +0200 +++ b/ui/common/object.c Sat Oct 04 14:52:59 2025 +0200 @@ -136,6 +136,7 @@ CxMempool *mp = cxMempoolCreateSimple(256); UiObject *obj = cxCalloc(mp->allocator, 1, sizeof(UiObject)); obj->ctx = uic_context(obj, mp); + obj->ctx->parent = ui_global_context(); uic_object_created(obj); return obj; }