Made scrolling work partially, only when a preferredSize is set