fix refreshRendering to match new Invalidating api