This tests that we don't crash when the renderer goes away during event handling.