Bug 8490: fix Plack error when creating label layout