Fixed a problem with the allow location button in the map view. It would not show the permission dialog.