GRAPHICS: Fix quantization table id check