Make sure pygame quits when the game ends