I want to get window PID of any window the mouse is above. I tried this solution from SO, but I get window information only if the mouse cursor is on the application itself