When you save the game with them in bed, they will not teleport when you reload. There is a handy egg to spawn them in bed and an egg to wake them up in the same room.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you save the game with them in bed, they will not teleport when you reload. There is a handy egg to spawn them in bed and an egg to wake them up in the same room.
The problem is that they shouldn't even spawn in the beds. They should sleep right there where the egg is on the floor.
Compared to the original
I think this is the same bug https://github.com/exult/exult/issues/378