update for 3.1, APNGFrame init not working