I'm rendering a border for a qscrollarea using stylesheets

Qt Code:
  1. QScrollArea#previews { border: 4px solid red; }
To copy to clipboard, switch view to plain text mode 
and
Qt Code:
  1. previewScrollArea->setObjectName("previews");
To copy to clipboard, switch view to plain text mode 

It works well until a scrollbar appears. When I click a scrollbar arrow to scroll content, the qscrollarea border does not render near scrollbar
2012-03-27_2131.png
If I maximize an application window and resize it back then QScrollArea (probably) updates and border renders properly, but if I click a scrollbar arrow then I have the same problem again.

Thanks