Apply the mask on the image, not tile, convert the image to pixmap, not the tile, greate performance improvement