solve the start grab bug, set the plot window as start window