Release references to components when view is removed