Fix transparency support for PNGs with imagecreatetruecolor