if (master.getStyle().isFixed()) {
if (master.getStyle().isFixed() || master.getStyle().isAlternateFlow()) {
    public void pushLayer(Box master) {        Layer layer = null;                if (rootLayer == null) {            layer = new Layer(master);            rootLayer = layer;        } else {            Layer parent = getLayer();                        if (master.getStyle().isFixed()) {                while (parent.getParent() != null) {                    parent = parent.getParent();                }            }                        layer = new Layer(parent, master);            parent.addChild(layer);        }                layers.push(layer);    }