Disable location layer when game is not running.