Init - fix issue with abnormal png size after generation