Made GraphToWindow always be within the graph