Resolve bugs with dynamic travelshed rendering.

This checkin refactors the animation code, and resolves the bug that
sometimes caused tiles not to render the first time the animated layer
was activated.