When using multiple compositor output nodes, compositing would fail
,showing a completly black output as it doesn't respect the active
node.
This patch will equalize the implementation with the viewer nodes.
Patch created by @OmarEmaraDevFixes: #86836