Improvements on the drawing of clut_imagedata