fix layer loading from project file (QGIS 64bit)