- Load MCPE-141800.mcworld
- Kill the villagers.
- Spawn 2 new villagers.
- Set time to night.
Villagers cannot enter the beds because there is no way to path into them and the beds themselves are enclosed in full blocks, so the villagers should stay where the are on the ground.
Villagers clip through the corners where solid blocks meet and enter the beds. The villager in the raised bed also exits in a position where it can no longer path the the spot where it entered the bed from.
At night/morning villagers sometimes will teleport to their beds and suffocate when there isn't enough space above them. Sometimes they glitch through walls/ceilings and have died in lava in my iron farms.
It seems to be when there is just one block between the villager and the bed. If you add a second layer of wall they don't seem to teleport through, so far.
Video of it happening: