Set error to true for Mac modifier keys used on Windows.
Fix the issue of showing errors from the user key map file when running integration tests.