I am just making a note that the discussion here has continued on another post with a more updated version of @tutu7931 's “Create Legend” component:
I already made one change to the “LB Create Legend” component (adding a viewport_ input).
I also just implemented @tutu7931’s solution to turn off the visualization when the component is locked and I did this for all of the components that do this type of screen-oriented rendering (including LB Screen Oriented Text):
Thank you for sharing the code, @tutu7931! This was all really helpful.