When chunks are unloaded and reloaded villagers will be moved by 1 or 2 chunks away from the village, so when someone has a village that is supposed to be fenced in villagers can teleport away from the village but still in range of their beds.
Attachments
Comments 2
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
What makes you sure that the villager teleported? You screen shot simply shows it on the outside of the fence. It looks like he might have gotten there like this: