Bug 1011533 - Update ShapeCurve's path in onSizeChanged instead of onMeasure (r=bnicholson)