Checking mrunning state after computeDeltaTime because there is a sleep inside
Merge system with dev