Added cleanup for renderer