Added viewport render switching to the modern renderer