fixes #357 ghost maps on map change