Allow 512 entries in 16-bit CLUTs. Also, forgot offset.