Fixed the render of meshes.