Fixed highlighting and unhighlighting of tiles