Mystery line in round display after updating label

Hi!

Whenever I update a label(with ‘lv_label_set_text’) there is a misterous line that appears below the text. (In the picture, below Intellij)
This is my function:
void setStatusCircleLabel(uint8_t circle_index, const char *text) {

if (circle_index >= NSTATUS) {

    return;

}

if (status_labels\[circle_index\] == nullptr) {

    return;

}

if (text == nullptr) {

    text = "";

}

int newLen = strlen(text);

int limitedLen = min(newLen,8);



strncpy(agents\[circle_index\].name, text, limitedLen);

agents\[circle_index\].name\[limitedLen\] = '\\0';



lv_label_set_text(status_labels\[circle_index\], agents\[circle_index\].name);

}

And this is my repo: GitHub - RaulHuertas/AgentsDashboard: A dashboard for the XIAO round display · GitHub