Issue #5941: corrected mistakes of cc.ProtectedNode and ccui.Text

Corrected mistakes of cc.ProtectedNode and ccui.Text