Fix "ghost stacks" created when a player clicks an item on the ground: