fix AttributeError in handle_lyricmode while typing \lyricmode