Fix bug about location zooming.