Fixed logical issue in MockSemanticForm that caused null layoutInfo for its children.