issue #5685: fix LayerMultiplex ctor bug