prevent ugly selection effect on accidental selection, fix #3713