Tests element removal and hiding in transitionend event handler. Should not crash.