Shielding or masking elements being displaced relative to the sprayed area during spraying