Fix border issue with titles