InfiniteContainer: updated destroy functionality