I had this same glitch once - so frustrating. It would fire primary on first click and subsequent clicks it would also throw the grapple and drag me around 😃
Unfortunately can't recall how I eventually fixed it 🫣
I think it was some corruption in user.ini.
First try setting all WeaponPriorities[X] to =None
WeaponPriority[0]=None
WeaponPriority[1]=None
etc.
If that doesn't fix it then check user.ini entries specifically those related to Fire & Hook and ensure there's no extra/special character within or at end of each entry
(My entries, Left ALT is my grapple bind).
Aliases[0]=(Command="Button bFire | Fire",Alias="Fire")
Aliases[1]=(Command="Button bAltFire | AltFire",Alias="AltFire")
LeftMouse=HookFire|Fire
RightMouse=HookFire|AltFire
Alt=HookOffHandFire
Or you could try deleting all instances of the HookOffHandFire bind within the user.ini, save it then use the Mutate command to bind the key for grapple.
Launch UT, join London Server, click Tools > System Console and type MUTATE OFFHAND <KEY> e.g. Mutate Offhand ALT