apply png8:m=h fix, ref #17