fixed the null pointer exception that is thrown when last character exits and win screen is loaded.