clear highlighted objects in a non-event-driven way