I photographed a fisheye photo and cropped it. Then I put on a lens distortion filter and put it on -70%. I cropped the result once more and then I started editing. I used inpainting brush and the selection was not where I selected it. I made sure everything was set up right and it was. This problem occurs for all tools, excluding patch tool and lasso (free selction tools actually). Also the selection with the brush is distorted under the effect of lens distortion filter. I don't know if I am missing something but it is nothing I could find on internet. I am sorry if I am wrong. Everything you need to replicate this is to put some strong lens d. filter.
Thank you for your time!