Fixed PNG export with FlipImage