Fix ripple effect on safari

Had to create the pull request again