fix InputValidationHandler issue

A javascript error was raised in the following use case:

- Inside a container having scrollbars, a field is in error,
- The field is focused (so that the error tooltip is open),
- Scroll the container with the mouse wheel