Fix event targets in IE5-8