https://bugs.winehq.org/show_bug.cgi?id=44514
--- Comment #18 from Adrià Cereto i Massagué ssorgatem@gmail.com --- I've tried the patch and it seems to fix the issue.
Can't comment on performance impact, since I don't have anything to compare it to, but it seems to work well enough.