Why does osg::AutoTransform disappears after using the set setAutoRotateMode method to be true .
std::string timesFont("fonts/arial.ttf");
osgText::Text* text = new osgText::Text;
text->setCharacterSize(characterSize);
text->setText(message);
text->setFont(timesFont);
text->setAlignment(osgText::Text::CENTER_CENTER);
osg::Geode* geode = new osg::Geode;
geode->addDrawable(text);
geode->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
osg::AutoTransform* at = new osg::AutoTransform;
at->addChild(geode);
at->setAutoRotateMode(osg::AutoTransform::ROTATE_TO_SCREEN);
at->setAutoScaleToScreen(true);
at->setMinimumScale(minScale);
at->setMaximumScale(maxScale);
at->setPosition(position);