Added viewport render switching to the immediate and display list renderers