Fix a segfault when the save dialog's minimap has no valid team pointer.