Remove RenderThread::mSurface pointer before mWindow.Reset()