Hide code mirror cursor when not focused

Closes #51 again

- Hide CodeMirror cursor when not focused