Fix amountedit widget.