Fix problem with graph rendering when has initial state
Merge pull request #418 from Akiracr/issue#416

Fix problem with graph rendering when has initial state