Fixed intersection-finding method so that reflections work more properly.