Fix png header issue