Properly make mask effects work with D3D11 compositor.