Pollutant transfer across the cavity region behind a two-dimensional fence