**System Information**
Operating system: Linux-5.4.0-58-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.32.03
**Blender Version**
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `rB02948a2cab44`
Worked: (newest version of Blender that worked as expected)
**Short description of error**
The layers that have masks active bring their "mask dependencies" with them in the render view layer, where we want only whats in the layer.
**Exact steps for others to reproduce the error**
In provided example file, hit render image then check the compositing nodes.
The shadow layer is on it's own on the `shadow` view_layer, so we expect to get only this layer content without any other appearing (and preferably unmasked).
But the `color` layer also appear on it.
In some cases, I suppose user you would want it to be masked (meaning, mask "applyed"). BUT, in a production logic, it's way better to have just the plain, unmasked, layer content (just hiding other layer at view_layer render time) to be able to tweak things in internal/external compositor afterwards.
In any case, user never want to see strokes of layers that aren't on the view layer, as it does now.
{F10079119}