Fix border offset for the wysihtml5 color picker.
Fix cliping of color picker when too few notes.
Sort instead of resetting.