[CustomCollectionViewLayoutAttributes] Fix sample to not bounce around when tapped. Fixes #12308.