Fix  when using text graph title and canvas