fix how out-of-bounds items are handled

especially so that exits which will be culled due to being out-of-bounds
won't still count towards the total exit count when saving the ROM