Fix handling of biome indexes above 128