fixing save of transparency palette png-images