Fixed the bug with NPCs stuck in building for DP 17 and DP 9