Fix loading of materials on sprites that have no textures, and for materials that have no textures bound.
Fix loading of materials on sprites that have no textures, and for materials that have no textures bound.

amzeratul/halley,amzeratul/halley,amzeratul/halley