Fixed refreshing of selection viewer.