path highlight clearing after exiting the widget