Fix a bug in IE10