Solution for grafixMask