Fixed graphics objects after reset

Should fix #120 and perhaps some other bugs as well