fixes #379
Merge pull request #392 from NielsZeilemaker/fix_iconmanager

fixes #379