Fixed the problem of map fragment causing a crash