When changing a key binding, it instantly defaults to F13

Was trying to change my key bindings and I think I may have unplugged my keyboard at the time and plugged it back in. When I did this I was not able to change any keybinds whatsoever since it kept defaulting to F13 which isn’t on my keyboard and I checked the keys that these may be shortcut to and removed them and put them back and problem still occured. Reset game multiple times ending the Diablo 4 game itself twice and still persisted. Tried changing key binds on Civ 6 and didn’t have a problem keybinding so I’m assuming it was a bug.

If I had the Nvidia overlay running when changing keybindings that’s what would happen. I had to leave the menu completely, turn it off and go back to keybindings to be able to set them correctly.