Patternscan color_mask: New parameter, mainly for handi games