Fix the pixel-precise mask using alpha channel