Prevent too fast menu keyboard event