Fixed minor bug in the model loading code.
The engine now renders triangles correctly.