Fix ratio-element not displaying in Firefox