Square appear when replace color?

Okay, here:

It was supposed to be a pixel art radish.

Try to replace color in layer 1 (where the radish is), a black square will appear bordering the radish on the back, even if my background is transparent.

The continuous paint bucked wouldn’t help here so if i want to replace all the black border all i can do is replace the black color.