fix from tabing away from the document outlineview (https://github.com/fotonauts/MongoHub-Mac/issues/97)