MaterialPreviewRenderer: set proper GL z and matrix state instead of relying on previously set values.