fix IndexError in Mesh.from_region() / detected on Win8