Give the focus to the editor when the window is active