reimplement CCLayerMultiplex. Original code use addChild/removeChild to switch layer, but it has potential risk of leaking memory because onExit of sublayer may be lost