Makes sure the given node is inside the visible area of the window. This is done by setting the left and top in the style.