Fix for neverending drag mode on horizontal scrollbar disappear

If you have a horizontal scrollbar (and no vertical) which can only scroll a few pixel it dissapears on dragging it in Firefox. In this case the drag mode is not disabled and every time the mouse is moved it is interpreted as a drag and focus is removed from the current active element.