Fix issue with AppendMoreText after clear of buffer