Fix automatic offset handling for png and alpha gfx formats