Fix selection issue after melt.