Opposing effects of selectivity and invariance in peripheral vision