Text widget glitching on the first frame

I came up with a very sketchy solution for this but it worked for me. When the widget is enabled, I set the opacity to 0.01, and wait 2 frames by using 2 “delay until next tick” nodes, then set the opacity back to 1. This means that your widget pops up delayed by 2 frames but it is really not noticeable at all in a lot of cases.

Not sure why it doesnt work with only 1 tick delay nodes, but it did work with 2.