Chart border bug fix