Remove handler for hide event on Firefox