fix scene ownership conflict between Viewer and PipelinePainter