Fixing a rendering error w.r.t. the #tail element during transitions.