[BUG #7249] Workaround for transitionend event