Window coordinates to screen coordinates

That does not work. The screenX coord is ok but the screen Y coord is way
off the bottom of the screen.

I believe the the screen coord origin is at the lower left of the screen
with the y coord going negative going up but assuming this still gets the y
coord wrong.

I know I am doing something wrong but I can not figure out what. I am
giving up.