Fixed two minor issues in the colorpicker scripts