took out Math.Min and Math.Max in preventIntersection

shouldn't be necessary, when working only with axis aligned bounding boxes!