Inventory border fix