Viewer node paths usually start with the modifier, but in pinned node editors the tree may not be used by the object in context. In that case the modifier part of the path should be ignored. The viewer node is always disabled in that case. Pull Request: https://projects.blender.org/blender/blender/pulls/105826