Fix gradient for safari