fix ppu palette mirroring bug.