Some fixes for media queries.