added IE10 fix by "marmot" (from WB forum)