Fix intermittent blank page on fast zoom.

Fixes #3545. The current render task was being replaced but the old one still updated the state.