So, I have a sporadic issue, that has persisted for years, through four different computers, and no one I've asked has had any idea. Honestly, it's usually just an annoyance but when it happens at a crucial moment, like needing to click on something fast in a fight, it can be a real problem. So, I finally decided I'd ask here if anyone has any idea...

Setup: My current keybinds for the pertinent functions are:

Target nearest NPC or object: Z
Confirm: X
Ready chat window: Shift + Enter

The Issue: Randomly, on average two or three times a day, I will press 'X' (with or without something already targeted) and instead of confirming, it opens the chat window. I've tried changing Confirm to a different key, but the same thing just keeps happening. Any ideas?