Added kludge for handling calc() in media query.