Fix compilation errors in RenderScheduler.