asynchronous scene loading (textures inside materials), bug fix for possible duplicates of the layouts in “replaceLayout” method