Fixed a bug with inexact stereographic projection