Merge "Fix StaticLayout crash when maxLines = 0" into mnc-dev