sanity check => when loading some .tub files, spriteindex can be out of
range