I did a bit more testing... I was able to recreate the issue in my creative super flat world at the same coordinates (-312 ~ 368) at both y=72 and y=4 (did not test other heights). I then tested in some random locations (test 02 ~ test 08), and marked setups reproducing the issue red. It seems that the issue is not related to the seed of the world, setup's location within a chunk, or the orientation of the setup (facing east for example), but rather related to the the setup's location in the world.
That's what I thought, but no, it's not crossing chunk borders.
edit: removed the image from the comment. See chunk border in attachments section.
Yes. I believe this is a duplicate of MC-96709.