Its not the same i thought that too but this ends up giving _updateHeight a context of window not the widget.