Probably, starting from the version, this code set(hotspot[%1].keep,false); for dynamically loading does not work... in some cases, hotspots are copied completely, in others only the active area is copy to a new scene (artifacts)...
krpano 1.21 (build 2023-03-30) - work
krpano 1.21 (build 2023-04-30) and above - broken for this function