The FocusChanged event callback is called before the FocusLost