Fixed end of game processing to correctly reset and return to attract mode