chasing routing enemies back to their gates
This is your problem. Vanilla bug. You need to keep following them until the gates are opened to let them in, then you can roll over them and capture the gates.