Fix bug for not showing the color into PDF export.