Issue #4993: cocoshtml5 2.2.3 createSegment drawSegment a bug

cocoshtml5 2.2.3 createSegment drawSegment a bug