Correcting media queries