Displacement map bad results

The high coherence in the coastal area is the one i would like to focus on. I have masked the low coherence areas using this procedure,

https://forum.step.esa.int/t/need-to-mask-phase-and-coherence-for-unwrapping-coherence-0-2/4960/13?u=arthurlagura

However, after unwrapping there are displacement values on the masked areas. I would like to ask if the masking procedure that i did helped in unwrapping or it didnt have any effect on the results at all. Thanks!