Fixes regression in layout style refactor that inserted 'center-x' and 'center-y' invalid style attributes as well as a 'border' class along with the proper 'border-width' class (each side).