Fixes issue with changing colors