Fix dialog borders.