Fix issue with chart bleeding out of bounds