I experienced this when I left a cave server by using untouched stair and after migration to forest server, I spawned very near site of magma pool and took burning damage. No sinkhole downstair was seen in this screenshot though. Still remnant of sinkhole boulder(3 flints and 2 stones) were shown.
Described in main text. Maybe adding some exceptions about location of sinkhole would be helpful?