Fixed first child not inheriting parent attributes.