every rule in ui_unix.h SetParent must be followed by SetContainer TODO can child cache it?