fixed map movement bug