Fixed crash when loading RLE compressed color mapped images

closes #14