mask should be applied to moving image