[dir="rtl"] rules in @media queries were not removed before flipping.