to fixup bug for not send wm_char in the keyboard message