prevent messageBubbleLeftRightMargin from being negative. fix #486