fixes scheduling of style updates