Fixed small bug in MapView dispose.