Don't crash if material has no texture