Fixed #5561: [2.x]Fix other addChild/removeChild issue in UI