Improves external keyboard assumption & avoid resigning first responder on esc press key on external keyboard