Toggle On/Off inventory input key (E) gets disabled along with the character movement input when I open the inventory

(Logic previous to set options is unchanged)

I’ve tried this. It indeed solves the issue of moving around with the inventory and you can toggle it On/Off fine, but now i cant interact with the inventory widget.

Any ideas why?