When evaluating emission, no closures can be allocated, so the existing code would end up returning albedo 1.0, which then caused the layering code to set the weight of lower layers to zero.