[DF-1785] Fixed keyboard handling in colorpicker