fix ingame UIs and the esc binding for main