fix for misalined index storage of layers in the multiplexer. The in order list was always recording an index that was +1 of the actual index of the added layer.