Fix stuttering on pause/resume