Fix map view bug