gfxlib2 X11: Set mouse_y to y, not x
gfxlib2 DOS: Don't make mouse_cursor update depend on x/y
gfxlib2: Cast 0x80000000 to int in comparisons