Fix bug with color dialog update on panel click