Fixed problem in dynamic ribbon widgets which contain animations, labels and more than one row.

Thanks to marcoll.