Fix rendering delay after closing Auto Playtesting window (#10934)