Add workaround for CSS3 media queries