Avoid to update ribbon widget too many times.

It fixes displaying screenshots in GP editor after switching between category tabs.
Merge branch 'master' of https://github.com/supertuxkart/stk-code