Minecraft villager keeps getting stuck?

So i'm transporting villagers i turn normal from zombie villagers to a safehouse while i build a village for them, but everytime i leave this villager alone to get more supplies from my house on the other side of the map, he gets stuck inside of something. Like i'll make a square dirt mound to keep him safe while i get more supplies and he'll get stuck inside of the dirt or inside of the fence i put him in or somehting like that. Will he keep getting stuck in the safehouse i'll put him in? How do i prevent this? When i say he''s stuck, i mean he won't move, i can't push him, and any block, minecart, or whatever goes straight through him with no resistance

Sounds like a glitch. I would try reporting it as a bug to Mojang. If they don't respond, expect to have it fixed in the next update.

That is all you can do.