Don't blink the cursor when the editor is not focused.

Saves on layout computations.

Closes #1044