Changed erronous use of <event>.toElement in Firefox