Drop item on cursor when the inventory is closed