fix graphical view zooming

zooming would cause resources to disappear from the view

https://github.com/rasto/lcmc/issues/17