Fix memory leak found during pathfinding.

Tile's copy constructor and operator= were bad. Sorry about that.