Don’t set infinite transforms. Fixes #1968.

Test case: http://bl.ocks.org/mbostock/219e9a38d8de73f3f9f7