Fix for stats sometimes coming out of sync when using SSE