Group of cells on top of object gets included in the mask. How to remove it?