Don't destroy the window in PlatformWindow's destructor.