If the par("bg") color is "transparent" the background is set to "white" instead of "transparent".