I have three imps extracting gold from a gem, and all the slabs surrounding it belongs to my treasure room. A boulder comes and kill my imps who were just extracting gold in that moment, so the gold they have, fall just into my treasure room, but it is not added to me! Should it? To make this gold be mine, you must drop an imp to take it and move it to another slab in the treasure room.
Savegame attached. Load it and wait 2 seconds for the imps be killed by the boulder.