Bug fix: Incorrect position when multiple pause/resume