Corrected mask-from-circseam creation.