Not all faces are mapping texture

I do use SUEntitiesFill in my add face. I am looping through getting three vertices and three uv points at a time. Then I use those to add the face.

I followed this code: Create faces with new SketchUp SDK C API - #16 by igor_sadchenko