Fixed the window that pops up when you lose