[fix] Ownership of sdl window transfered to window class.