Fix themelib update loop.