Settings> Keyboard Layout> Default
I had the same problem, for some reason I found that the keyboard layout settings were installed on Mac OS.
I use a PC, so I changed the default keyboard layout and this fixed the problem for me. Hope this helps.
settings: key map