modify surface_mesh_render.cpp to fix a bug when image_data returned by image loader is NULL