Fixed the triangle primitive, damn refs