Resource compaction, PNG Decoder bug fixed