There really should be a check for if a hero can actually move through those gates or not (i.e., are they rem or calico / do they have shrink items), that makes the unstick hero button send you outside of that zone. For now your best option when absolutely stuck is to press F7, and type " killme...
I've been experiencing this as well, it's driving me crazy. always wondering why I'm slot locked and it's because my T1s set to 99 sell prio aren't auto selling.
Having the exact same issue - Game keeps getting stuck while loading into a match so I have to quit, getting suspended from play because of it.
Restarts don't solve it unfortunately, definitely on latest version.