The bug happened when I created a fenced in area for pigs with 1 closed gate.
the big could be reproduced in Realms 1.8.3 when you put a pig into a fenced in rectangle with 1 gate.
I was also noticing the same problem with other animals, but it happened mostly with pigs.
Related issues
Comments

Dupe of MC-2025