Keyboard shortcut "§" not working on external keyboard Mac

To hide UI in prototypes you can press § on Mac. However for some reason this doesnt work with external keyboards (Ive tried 2 logitech keyboards). They both still send the same § character but the UI doesnt hide. Any ideas why?