edit_mask_surf function

Edit mask on surface