actually this part originates from me. What do you mean by invalid? Currently only the second part is used, e.g. the caller does not request a special up vector so we choose one to make it look nicely. The first part was originally requested by @gersseba for evasion during fights.