Fixed bug when loading resources from other assemblies than executing