Fix InventoryUtils crash on intoSide < 0