Rewritten lcd_blitTilesPalette