Firefox added a new property to the event object, which broke some codes.