fixed bugs causing the misinterpolation of hatched color tables