Fixed a problem with HotKey usage on Mac