[DF-4087] Fixed crash on scene closing
[DF-4086] Disabled removing of custom component
[DF-4090] Fixed crash on removing switch component
[DF-4087] Removed duplicated assignment of component entity
[DF-4090] removed extra NULL check
[DF-4090] Removed unnecessary retain/release
Merge branch 'components_fix' into development