NPC positions not saving

Fixed NPC positions not being committed to the database.