[UI] Avoid a crash when stateLimit
greater or equal stateCount
#103
Loading
stateLimit
greater or equal stateCount
#103