With a long-scrolling, async-loading collection, this alternative may offer slightly better performance.
class MyHeaderView: UICollectionReusableView {
override func apply(_ layoutAttributes: UICollectionViewLayoutAttributes) {
layer.zPosition = 0
}
}