Mouse over events on perspective view

It’s happening to other objects if the perspective changes. So doggo is not the problem. The problem is that somehow get hit result is not auto adjusting with respect to perspective changes and only working orthogonally.

Is there any settings in project or editor with respect to it?