Fix adding icons to custom icon directories.