Changed cube rendering from GL_QUADS to GL_TRIANGLES