Fixes rAF dependends during reftest