Fix invalid borders properties values