fix clicking on color bar