Update hover.js

https://github.com/contao/core/issues/6557