Stop error message from popping up twice on invalid inputs.

Fixes this issue for both DecimalTextCtrl and AccountCtrl.