Set Input Mode Game Only with Set show mouse [true] glitches the lLMB

When I use Set Input Mode Game Only with Set show mouse cursor [true], the LMB doesn’t dork right. when I click the first time it doesn’t count. but when i double click, it counts.

Can anyone help me please.

I think Game Only is meant for consuming mouse input before it reaches the UI. So a single click will be consumed by the InputAction event mapped to the left mouse button but the double click isnt mapped so it gets through.
I am not sure if this is how it works, but whenever I need to click the UI then I set to Game and UI mode.

Mathew Wadstein has some short Youtube tutorials on the Set Input Mode nodes and explains how they affect mouse click behavior.