Fixing issue with variables in @media statements