glfw: scale cursor position by the ratio of framebuffer to screen size
b95accb
This fixes the mouse being constrained to the top left quarter of the window on Wayland HiDPI setups.