Fix map disappeared bug