Mobs trapped in Minecarts are able to leave them when you exit and re-enter the game, this causes extreme annoyance or overengineering of breeding machines and some kinds of farms.
Developers showed interest in fixing this issue in the past.
- duplicates
-
MC-221 Players and Mobs fall off vehicles and other ridden entities upon world reload, glitching through blocks
- Resolved