hangman, ignore key presses after win/lose
(cherry picked from commit 7d5cc951d8e47b8283f05b29386753f711f89aea)