Bounding ellipse of sphere in 2D - what's wrong?