This could actually use window_from_node instead.