Dismiss render cache when selection is modified (Fix #8346)