Fix stack overflow in MessageStyle.