Fix invalid field message when border width set