fixed some issues with legend icons