>>1947068blur the mask a bit to get rid of the pixels, then increase the contrast of the blurred mask until it gets sharp again.
outside borders were missing so i added them (duplicate the layer, blur to spread pixels, increase alpha channel contrast along with 'brightness' so u get sharp border a few pixels from original edge, then darken the layer and drop it behind the main layer so it's only visible as a border)
>>1947088anon no offense but that is a lot of steps to make something not smooth