http://bugs.winehq.org/show_bug.cgi?id=18676
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2009-05-28 16:03:01 --- Created an attachment (id=21389) --> (http://bugs.winehq.org/attachment.cgi?id=21389) patch
I think it's missing an ActivateContext() call. Does this patch help?