Problem with png on the prototype mode

Figma adds weird black pixels in prototype mode. In the figma itself everything is ok and these black pixels are not visible.