moved update/run frame counting outside of pause check