Fix #53: Backpacks in Resupply mode crash when opening slotless GUIs
Minor ItemBackpack code cleanup