Fixed pause-resume behaviour