fix window.stage by anytest.init