A mask for high-intensity heavy-ion beams in the MAYA active target