Shift-click merge fix

Shift-clicking will merge same item ids with different damage values,
taking the damage value from the inventory item.