Ensure that elements have the right opacity.

When an update.transition event is called soon after the
enter.transition event, the fade-in transition is cancelled, which
leaves the element with a low opacity. This commit ensures that
update.transition makes the element fully opaque in all situations.