Fixes a problem with registerClass for cell.
Border width is now zero when no border color is set