It is assumed that within a node tree at most one viewer is active at a time, see also `node_tree_set_output()`. So we ignore selection when deactivating a viewer and rely on the active node from context instead to decide which viewer node should be deactivated. Motivation: #145506 and #145509 Pull Request: https://projects.blender.org/blender/blender/pulls/145505