jank fix for re-rendering