Display Lines that not completely appear while export a render window

Hello everyone,

I have some trouble with my export of a vtkRenderWindow.

In fact I create a box with text and this box sometimes will not completely appear in the export image as in this example.

image

Does any one have an idea ?

Sincerly,

Lenoir Nicolas