Fix crash when adding an empty item to inventory