So I tried that and it didn't work, though it allowed me to hover over and press the exit game button. I later played a few other different games. Only one of them had a similar issue, Phoenix Project, but this game gave me a notification that my xbox controller that was plugged in was giving conflicting input with my mouse and keyboard. so I unplugged my xbox controller and everything was working. Then moved back to Bannerlord and the issue I had was fixed. It seems that there is an input issue when using mouse and keyboard when a controller is also plugged in.