Handle item ID offsets properly