A couple of fixes...

1. save spawn position when the player gets in the bed, not when
everybody in the world is in bed
2. restore position to where the player got into bed from (so
never into a wall as it could do before)