What version of Wine are you using, I removed the Karmic repo version of wine 1.1.31 (labeled Wine1.2) and used the Jaunty PPA from WineHQ. This seems to make it happen less often, but not fix it.