fix gradient not working on chrome.