Fix map not loading initially