Fixed event.toElement issue in ie