Fixed IE10 bug