Staying cool or staying safe in a human-dominated landscape: which is more relevant for brown bears?

Staying cool or staying safe in a human-dominated landscape: which is more relevant for brown bears?