Map view bug

Bugfix: map sometimes fails to set the map view when updating from the url.