Fix dotted and dashed borders, fixes all tests

Rounded dotted and dashed borders are still broken