NPC, thralls problem

Hey, I found a bug.

NPCs and Thralls can run through the gate modules. (The gate is close than.)