fixed a bug of handling shared toon texture index