Masking two pngs

This slight change makes it possible to mask two images each having transparent pixels. It pays attention to the anti-aliasing on the edges to make for smooth lines on the mask edges.