Fix readIndexedTex() to use texture level for width/height