Fix keys for WinAPI