Run WH_KEYBOARD_LL and WH_MOUSE_LL hooks in the context of the thread
that set the hook.

diff --git a/server/queue.c b/server/queue.c
index ce72462..eb2c11c 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -239,6 +239,7 @@
 {
     struct process *process = thread->process;
 
+    remove_thread_hooks( thread );
     if (!thread->queue) return;
     if (process->queue == thread->queue)  /* is it the process main queue? */
     {