Fix for LibreOffice Icon missing

This should fix generating Icons e.g. for LibreOffice whereas the icon is missing sometimes