Fixed morph for Firefox where stopping the animation would stop with current
styles instead of end styles.