Reduce the number of refresh events.