Cut a masked area out for editing and paste it back aligned: RAFT optical flow both ways, round-trip-checked grid matches, and a smoothed thin-plate-spline warp, so the edited cut lines up with the original where the blend fades. A color match in between undoes the overall grade and texture change the edit model made, measured only where the edit left the picture alone. Only the cut reaches VAE and sampler.
https://github.com/fixed-42/comfyui-tps-cut-paste
git clone https://github.com/fixed-42/comfyui-tps-cut-paste
comfy node install comfyui-tps-cut-paste