Fix regression where bars wiggle on window resize by making special-cased setTimeout that fires immediately if t=0