http://bugs.winehq.org/show_bug.cgi?id=34110
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2013-07-23 07:12:40 CDT --- Created attachment 45365 --> http://bugs.winehq.org/attachment.cgi?id=45365 patch
This patch fixes it for me. I still need to write some tests and think if anything will break with it.