Yet make sure the location button is hidden if there is no stylesheet (related to issue 6582)