nullp fix - unrendered views would throw an exception when destroyed because they would try to remove non-existent elements from the DOM