Handle previous itemstack in onSlotSet