Thanks to the answer of j_4321.
I fixed it by setting the background color of the label to the background color of my GUI.