source updates

- fix a crash issue when removes GraphicsItem