fixed null pointer error in tile info panel