fix bug of keypress on KeyButtonView