Move in 3D lineWidget on resliceCursorWidget

I have managed to add LineWidget in ResliceCursorWidget in vtk.js V28 as follows:

const origin = resliceCursorWidget.getWidgetState().getCenter();
const planeNormal = resliceCursorWidget.getPlaneNormalFromViewType(xyzToViewType[obj.id]);
lineWidget.getManipulator().setWidgetOrigin(...origin);
lineWidget.getManipulator().setWidgetNormal(...planeNormal);

But when I add LineWidget in one of the views the other two are blocked and I can’t interact neither with ResliceCursorWidget nor with LineWidget in any of them, I can only interact in the view where I added LineWidget.
I think it has something to do with grabFocus and releaseFocus but I’m not sure and I don’t know how to fix it.