[gui] scrollbar didn't scroll properly with the mouse. fixes #14873