Edit: I was partly wrong. The bug still works if you disable root afterwards, then it reenables and resets it.