Fix a bug with previously selected cell staying highlighted.