fix focus logic error [Urgent]

:exclamation: :exclamation: :exclamation: This effect other packages which just need to move cursor without re focus on Editor.

This bug effect: https://github.com/mkleehammer/goto/issues/8