Fix pesistant graphics on reload
Restore
Merge pull request #114 from ly29/master

fix persistent grahpics on reload a file