Clear the window after the render is initialized