Fixed flags used with SendInput under Windows.