Wrong y for a top-level window - in cocoa it's different, it not top-left, but bottom-left corner.