Check null in sourceToViewCoord. Fixes #8.