Add assertions to ensure that child nodes' rects match the parent's rect.