Issue #5704: Fixed a bug about CCControlSwitch
The Node element is added again