Shaun Ren : dinput: Call handle_foreground_lost() synchronously in cbt_hook_proc().