Update packageitem.cpp

fix potitionning issue while creating packageItem