Can you try hitting the command key once when this happens to see if it clears the problem? The typing part of it sounds like part of the issue I’m having that I posted about a couple of days ago. Do you have the Command left click as right click option turned on in System > Keyboard options?
If it’s the same issue, blue replied to my post and said they’re working on it.