Fix for non material mesh rendering.