[DF-4082] Fixed reloading of shaders on new or empty scene