Fixes a skinning bug that occurs when two SkinnedMesh objects share a material and use bone textures of different sizes.