The problem lies in `a3\modules_f\hc\data\scripts\hc_local.sqf`:
```
//--- Reset GUI
{
(uinamespace getvariable "_map") ctrlSetEventHandler [_x, ""];
} foreach ["mousemoving","mouseholding","mousebuttondown","mousebuttonup","keydown","keyup"];
```
My proposed fix is to reuse the EH resetting code from `a3\modules_f\hc\data\scripts\hc_gui.sqf`:
```
if (!isnil "BIS_HC_ctrlEventHandlers = [];") then {
{ _events = ["mousemoving","mouseholding","mousebuttondown","mousebuttonup"];
_eh = (uinamespace getvariable "_map") ctrlAddEfor "_i" from 0 to 3 do {
_current = _eventHandler [_x, s select _i;
format ["_temp = ['%1',_this] spawn(uinamespace getvariable "_map") ctrlremoveEventhandler [_current, BIS_HC_GUI;",_xctrlEventHandlers select _i]
];};
BIS_HC_ctrlEventHandlers = BIS_HC_ctrlEventHandlers + [_eh];nil;
} foreach ["mousemoving","mouseholding","mousebuttondown","mousebuttonup"];
```
This has been tested and verified to work by overriding the script through an addon.