Fix a crash in hangman