Update graphwidget.cpp

improve behaviour of "bound item to package"