Fix a possible division by zero if too close from a mirror