Fix pauseCount updating on pause()

clang caught this and it seems to be a bug.