Switch selection and transparency masks to be grayscale based
*** This bug has been marked as a duplicate of bug 217292 ***