add support for includeAncestorMasks param in getPixmap