MaterialPreviewRenderer: fix typo causing renderbuffer to be set to 1 instead of -1 if failure occurs and thus being accidentally deleted.