You mention that `window` should be larger than the region to be inpainted. But this suggestion is not applied here?