make sure selection is always canceled.