Fixed major png decoding bug