fixing translation to children problem while rendering