The Sheep can escape captivity through a fence by attempting to eat the grass on the block where the fence is placed. The animation merges them with the fence and allows them to walk through it.
Related issues
is duplicated by
Comments


Is this still an issue in the current Minecraft Snapshot 15w49b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.
Not a dupe of MC-2025. That bug is about loading chunks. This is about the animation of grass eating causing a merge with the fence.