Fix custom icon generator