Reset the scroll offset when clearing a dynamic ribbon widget

This prevents some odd behaviour in the GP editor when changing the currently selected GP, and probably in some other places too.