Used CV2 library SIFT method to correct output image. Additional nodes used to pad image. Need install custom nodes:
https://github.com/addddd2/AI_Generated_nodes