Unbroke the TileManager

My sincere apologies for that last commit.