Fix event targeting and positioning in IE