change rnd_input = mt_rand( 0, 2 ); to $rnd_input = 2; in “wp-math-captcha/includes/class.core.php”.
Solution proposed by user @macropolo https://wordpress.org/support/topic/math-captcha-get-distorted-and-gives-addition-results-automatically-after-refr/