offset changed for libpng hack