That's a very odd bug. When I select an image from paint.net selection tool then copy it on firefox on whatsapp web or google docs, there's a 1 pixel line on top of the image:
The line gets literally incorporated into the image. If I download the image, the black line is on top of it replacing the first row of pixels.
This does not occur on Edge, and it also does not occur when I try to paste something from other image editors, like mspaint. Firefox version is 122.0 and paint.net is 5.0.12 and Windows 11. This bug just won't occur if I don't use firefox or paint.net, and it only occurs when both are present. I have also posted this question on firefox support forum.
Bug is also present in my laptop with the same apps, so it's not exclusive to my computer.