prevent div by zero in raytraceLine