fix window resurrect
LoadState instead of shuttingDown