Fix stopping event propagation on IE8