Add few more checks to krnKbdDispatchKeyPress