Fixed typo in Windows keyboard implementation

Fixes #516