Differential effect of visual masking in perceptual categorization