Remove unnecessary call to EditorManager.getFocusedEditor()

This fixes unit test failure in CEF 2171 branch reported in #9972. This also works in brackets-shell master, so this can be merged now.