[DF-2037] Fix cursor pinning to sceen center on win32