Fixes speedup bug on resume from pause.