Correctly load palettes from RAM