Fixed box highlighting after validation.