Fix sphere generation