Annoying UI bug

Sometimes when I have UI open (craft, talk to NPCs, work with items) and click on the inventory to select an item, the character moves to that location. The game doesn’t realize that the UI is open, and click go through the UI …

This bug is very annoying, please fix it.

I know there was a similar bug related to character deletion, where users ended up accidentally deleting the wrong characters