Fix issue related to ribbons glitch on firefox