BF: only set tex/mask if it's an attribute of the stimulus.