Disable GL_VERTEX_ARRAY when not needed.

Previously it was left on during alias model drawing which could have
caused a slowdown.