[BEAM-1480]
(cherry-picked from 950ef55)
improved roi mask selector enablement
(cherry-picked from 8199bd6)