Minor fix for IE10.
[BUG #7408] Fixed emulate mouse on IE10