fixed scene problems in raytracer