The palette color LUT was incorrectly handling 16 bit entries, and didn't work for both array buffers and typed arrays.