Fixed a bug where the view page didn't show the location on the map