This was occurring if the imgui vertex format was bound on shutdown, which is destroyed before the vertex buffers