Fixed bug when near bracket was not highlighted until something was typed.