Input.MousePosition Does Not Update after clicking on some UI elements on WebGL

I have a weird issue in the game I’m working on. This specifically occurs on WebGL build when the game is running at lower frame rates.

It seems like when I click on some UI elements, the input.mouseposition just stops updating. This causes the player to be unable to press another button until they click somewhere else on the screen.

Can anyone give me ideas of what might be causing this?

I really am at a loss at this point. A video of what happens here:

Don’t be at that point. You can achieve any problem just try to think different or see this problem with others eyes. You can share some code lines i guess. What is your update codes to get mouse position? and what is your button press codes? Is there a transition between them? Or is there a UI on the scene that could lead to this problem?