Fix memory leak of selectedTile and highlightedTile instances caused by their improper setter implementation (the setter should release the old value before assigning and retaining the new value)