Update rect color on rescale