Make also mouse move dodge singularities at poles

- Also simplified the formula for circle radius