bugfix the map scrolling issue