Prevents an emptyView being created twice for a CollectionView

Fixes #1662