Fixed bug: UI element didn't hide when changing from mouse mode to map (or other screens)