         oldLineNodes = newLineNodes
 
         atom.config.set("editor.continuousReflow", false)
+        wrapperNode.blur()
         nextAnimationFrame()
 
         newLineNodes = componentNode.querySelectorAll(".line")


    it "keeps rebuilding line numbers when continuous reflow is on", ->
      atom.config.set("editor.continuousReflow", true)
      nextAnimationFrame()

      oldLineNodes = componentNode.querySelectorAll(".line-number")


      it "keeps rebuilding lines when continuous reflow is on", ->
        atom.config.set("editor.continuousReflow", true)
        wrapperNode.focus()
        nextAnimationFrame()

        oldLineNodes = componentNode.querySelectorAll(".line")
