Cutom Template - Logo Bug

Cutom Template - Logo Bug

The Logo in my custome tamplate has a black background when I view it in PDF format. When creating the same logo in the non-custom template is just fine. What might be the issue?