I played around with Masking in tests - and it worked right. So, it should work right in my actual project, you'd think?
Unfortunately, that's not what happened... After a few hours of frustration, I just decided to remove that effect from what I was doing and move on.