Most of these issues are caused by the sprite using RGB colour mode instead of indexed colour mode. Also check that the black outline isn't pure black (0,0,0) since that might be read as transparent.
That fixed the issue, thanks 🙏🙏🙏