[NTG-context] \definehead behaving differently when in an environment file versus \input'ed