Made sure that the global detector doesn't turn on the memory leak detector when it was off