For some reason, even if I set the line width of the boxes to the minimum (0.00cm), it still stays very bold when exported to pdf. I've been searching for a solution but to no avail.
Okay so I found a workaround that fixed the problem. Exporting it as a svg file then converting that to a pdf file does the job
Just do this: