fixed handling of lights in nested (potentially moving) assemblies.
fixed handling of textures located in nested assemblies.