Fixed colorpicker functionality