Firefox event fixes