protected function layoutFooter(FooterBox $footer)
    {
        $footer = $footer->cloneWithChildren();
        $box = $this->getBox();
        if (!$box->hasChildren()) {