better handling of missing textures