Cast round() to an int
Don't validate the lengths in border-radius twice
Fix dotted and dashed borders