Bug with OrthogonalScrollingBehavior in UICollectionView Compositional Layout

I am currently implementing a layout for a collection view using a compositional layout. However, I have encountered a bug as follows:

As you can see in the images, on iOS 15, even though I set the orthogonalScrollingBehavior to groupPagingCentered, it does not initially align to the center when the app loads. The same issue persists during scrolling. However, from iOS 16 onwards, it aligns correctly to the center. Is this a known bug? I have been unable to find similar cases despite extensive searching, hence this post.

Below is a link to a sample project demonstrating the issue: https://github.com/leeari95/CompositionalLayout-BugDemo

However, it functions correctly again on iOS 15 on an iPad.

Bug with OrthogonalScrollingBehavior in UICollectionView Compositional Layout
 
 
Q