only refreshing map after every dynamic object has moved