ce_ui: Focus handling