8bit PNG: RPG Maker always uses palette index 0 as transparent color

Rebased my commit and is ready for applying again