invert coordinate of sphere mapping