fix decoding very small png