Remove unnecessary dotted CSS borders. Closes #2940