fixed event propagation bug in firefox