It can be reproduce with a simple script.
--global script for _, ob in pairs(player.cell:getAll()) do if ob.type == types.Miscellaneous then ob:activateBy(player) end end
If this script is run while inventory is open, icons of items gets stacked on the cursor and cannot be fixed until game restart.