gui: polished textbox focus behaviour