When toggling preview on/off refresh output edges too