Fix global hooking code
Fix global hooking code

baldurk/renderdoc,baldurk/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc