Hi, dear tentone
There is a error!
that sphere is not display right!

because your tile use mercator tiling scheme, but your geometry's code is about graphics tiling scheme!
And graphics tiling scheme has two tile in level 0, four tile at x axis in level 1, and two tile at y axis in level 1.
reuslt as below.
