Implemented a bounding box for NPCs