Fixed issue where slider does not update color