After dying in a match, I cannot use inputs (W, A, S, D, pause, shop). The only fix I know is to leave and rejoin the match, but this sometimes causes the game to crash. This issue started after the shop update and is still not fixed.
In my case, to avoid this bug, you should simply not use the left mouse button when hovering over an ally's icon to spectate them. If you just switch to the next ally using the left mouse button - the bug doesn't happen.