Actually, unfocus CodeMirror on any scroll.