Hello Ben,
It may happen to very oblique images, for example, or in case there are holes in mesh.
But from the exported data can you extract the information which images are related to the shapes with less than 4 vertices? With this information you can try to check whether the corners of such images refer to the points on mesh or outside.