fix mouse problem with hidpi screen on Windows