Fix possible crash in stopRendering