[NUI] Add an exception when deleting a view that is not child