Fix clipping at large distances. Fixes #11.