Fix #1188 Swap focusout event for keyup event

Fix typo