Hey there Exion,
This is usually because the edge of the sprite image is touching the edges of the image area.
If you double-click the sprite to open the image editor, and click the Crop button (just right of the rotate buttons), it will add a margin of transparent pixels so that the sprite doesn't touch the edges.