fixed some keyboard default prevention handling