I also had a problem with my sheep being cornered. But I did find a "hack" to trap the doggos in the pen before colelcting the sheep. Made it a lot easier. :D
Cute reversal idea. :>