Added fixes for boxlayout direction setting and animation chain name setting that come from a xml layout