Make rendering works with updated Compositor shutdown refactor