Issue #2416: correct a mistake of cc.ProtectedNode and ccui.Layout