Another fix for colorpicker tool