[3.8] Fix #1188 Swap focusout event for keyup event