Made the hats honor the any key press handling.