fix map scrolling bug