Code:
ctx.fillText("_TITLE_", 2, canvas.height / 2 + 3);
ctx.fillText("_SECTION_", 250, canvas.height / 2 + 3);
I would try playing with the values '2', '250' and '3' in the above snippet, to see if it does show without cutting off. Otherwise, setting height and width manually may be necessary.