fixed gradient bug on safari