Fixed bug with pointer events in IE11