Fix atmosphere rendering crash with no foreground sphere