Fixed the beeping on keydown