remove window from rendering