Hello ,
I believe there are some limitations with how windows handles inputs. (I entered a bug a while ago and it was determined that there is nothing we can do to fix on our end.)
Random Protip: use the console command Showdebug Input to visualize your keypresses.
Hope that helps!