Don't destroy the SDL window twice