Fix scceSvgContainer directive.

Test layout data are set before adjusting the sag element attributes.