Set center for map after resize