project: Flush the pipeline when we set restriction caps

This way we make sure that the viewer updates