Fix IText canvas handler initialization

Closes #1341