Problem assigning icon to panel item

I changed my icon on a panel item.

The image shows a folder tree with a white background.

However, in the panel it shows with the same background color as the panel.

This does not occur when I use that icon on a desktop icon?

I can uploads some pics if needed.

It worked after a reboot.

Not sure why it took a reboot.