The text input field of the colorpicker retains focus after the picker popup is closed. This in itself is not a problem, but the next click anywhere on the page makes the field lose focus, firing the blur handler and changing the selected color.
I don't know how hacky it is, but adding $mColorPickerInput.blur() into $.fn.mColorPicker.closePicker solves the issue.