win-capture: Fix bug calculating cursor position

Cursor position calculation was not taking in to account the window
client coordinates relative to the screen.