When I enter into TextBox, other input actions also fire

Yes.

For example, the “M” key opens map, and when I type “m” into TextBox, the map is also opened.