Fix line highlight in GUI.