VE-1562 Fix Firefox bug when using linear gradient with 'transparent' as a color

https://wikia-inc.atlassian.net/browse/VE-1562