Thanks for playing, it is an intended mechanic hahaha. The dog will run no matter what if he sees the treat. To help him get unstuck you have to risk yourself by approaching him :)