[Damn it] Fixes transitionEnd() unwillingness to work on Firefox