Spot light cookie bleeding from edges

I have a spot light with a cookie that I made. I am getting this strange bleeding on the side of the image. Is this fixable?

Here is my original .jpeg that I made into the cookie, and my inspector settings

Hi, I answered my own question. To fix this problem I had to do two things.

  1. Change my import setting for the image to cookie.
  2. Edit the image so there was a black margin of around borders.

Also if someone is having trouble getting the cookie to work properly the image needs to be a perfect square.

CHEERS!

81641-fixed.png