Fixing max-width:none bug