Fix a crash when a section has no items
Support delegate's minimumInteritemSpacing and sectionInset