fix race condition when holding down Alt-key binds