Made sure to reset had_focus when focus is taken from dice_eqn_input.