Mass of people its/his/their
The fragment does not strike me as idiomatic or even meaningful in the first place. But ignoring that for a moment, yes, you should go with notional agreement.
A lot of people and their flag. A variety of people and their flag. A mass of people and their flag.
(Oh, and his is right out. A mass is not a he. Ever.)