Fixed none cleared inputbox on mode change.

If the mode where not really change but the function vb_set_mode() called with
flag clear input, the input was not cleared, because we skipped the part of
logic where the inputbox will be cleared.