Summon an iron golem: /summon villager_golem ~ ~ ~ {NoAI:1}
Stand one block away from the golem so that you are directly in front of/behind it.
Look straight at the golem.
Look straight up slowly.
Observe that the golem disappears at certain angles.
I considered implementing some sort of cache for the bounding box adjustment, but there is no visible FPS impact on my very weak machine, so I don't think it's necessary.
Reproduction steps for vanilla bug:
/summon villager_golem ~ ~ ~ {NoAI:1}
I considered implementing some sort of cache for the bounding box adjustment, but there is no visible FPS impact on my very weak machine, so I don't think it's necessary.