Fixes spawning with beds.