Bug fix for color selection tool