Firefox quick fix: using event.currentTarget instead of event.srcElement.