title: Image gets new values even though mask is set to 0
body: <p>I'm working on a project where you user can insert a video and draw on it. But when trying to copy from a layer that contains the drawings to an image using mask, the image gets set to 0 even though mask value is 0.</p>
  
  <pre><code>     Mat copy = new Mat();
       img.CopyTo(copy);
       Mat[] array = transparent.Split();
       Mat transCopy = new Mat();
       CvInvoke.CvtColor(transparent, transCopy, ColorConversion.Rgba2Rgb);
       transCopy.CopyTo(copy, array[3]);
       Image.Image = copy.ToBitmap();
  </code></pre>
  
  <p>This is the function that I use to combine layer that has drawings (transparent) and my image (img).
  The values of copy are good until second to last line of code where it gets set to 0.</p>