Fix exitting from plotmode after reinit