added a protected scope to ImGui::Renderer