Fixes map center then refreshing it