fixes bug when masking a region with synapses