fix keyboard when mouseenter with pressed