fix ordering error when creating avatars in a single player world