The words "quick mask" infer that you are doing something else than making a layer mask, which is what would control the area the effect is applied within. "Quick mask" usually refers to directly editing a selection while showing it in red.