Fix issue in the method that read an OBJ file