Whenever we nullify editor, we also need to reset _currentlyViewedPath.