Partial fix of a bug concerning scrollbar

A widget with a scrollbar tends to request much more room than needed, even if its size is fixed. This fix corrects that, however something is still missing as the widget borders does not draw exactly properly.