Add workaround for a weird bug when UICollectionView is not on screen