fixes #1112
NPCs now can't escape their bounds