Forgot to reset flipCount.