about LineWidget?

Following your suggestion, I have modified the paintCamera. set() function.
Setting the offset has no effect.
After some code adjustments, the handle of LineWidget is now displayed and moveHandle is also displayed, but the straight line is missing, as shown in the following figure:
Behind

I switched to the next slice and can see the lines, but they are not clear.
1

How can I troubleshoot this issue?