fix: preserve restored image transforms when merging adapter-collected images during incremental builds (#17634)