modify SetBackGroundColor to fix background color and gradients issue

Change-Id: Ie2ffa39f6aad8df127e99109618a64fb0d32599e