Dogs behavior is interesting. Ive just gone from a single dog home to 2 dogs.
When it was just my partner and our first dog Hope, my partner was boss even though she was my dog. Since getting the second dog our pack dynamic has changed and I have become boss. Simple command such as 'out' by my partner results in the two ratbags to look at each other and go the opposite direction. If I am to request it they abide. It's interestingly see how the roles are reversed.
I think alot comes down to temperament, breeding and how they are brought up. My two will not even consider climbing a fence or digging out of it. In fact they are left in the yard while we go to work. However my friends puppy is a typical basenji that scales fences and digs under them. He came from a different breeder, how he is raised is different from how I raise my two. He came and stayed for a week and he really is a brilliant dog, he didn't leave my yard during the stay (and yes he has other dogs that he lives with where his owner lives so it wasn't because he had company- its because we made him apart of the family, allowed him inside and to be with us- why would he want to leave. Same theory I have about my 2, they have no reason to get over that fence).
I guess I'm lucky that I don't have a resource guarder when it comes to stealing food (yes they are still basenji like when it comes to some stuff) but they seem to be more worried about the consequences and either leave it or gives it up to me, of they are up to mischief I come in with a stern voice and that's usually enough for them to call it quits. (I don't replace their stolen good with something better as Hope is rather smart and would simply do it again to get the better treat.. damn they are smart!!)
I'm thankful I don't have issues like that but wanted to say how their behavior is interesting to learn from, I never thought I'd be a 'pack leader' (as I never thought I'd have 2 basenjis so Hope would always look to my partner as the leader) but its fascinating how the roles change.
Here's hoping that your problem can be fixed, what a nasty bite in that photo.