@mitu It's honestly just a super basic, no frills, nothing special keyboard. I did also think about that whole mouse index and wonder if it was maybe giving priority to the keyboard, but then I actually did a test with a simple Dell wired keyboard and it did the same thing. It was seriously weird af.
Here's the keyboard I am using:
https://www.amazon.com/gp/product/B073TSKFRX/