Fix bugs in NDS Party Editing