Page:postInit defaults parent to UI.term (small computer terminal). Window:postInit then calls setParent() which computes all child dimensions from that small terminal. When we later re-parent to the monitor device, the children retain their small dimensions. Adding resize() before setParent() forces all children to recompute dimensions from the correct monitor size.