Some minor corrections

Some minor corrections, including one in DynamicRibbonWidget to avoid a strange behaviour in the GP editor: every time you clicked on a GP group tab, the speed of the animation increased.